.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    min-height: 100vh;
    font-size: 16px;
    padding: 20px;
    background-color: #f5f7fa;
    color: #333;
}

.preview {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 24px;
}

.settings {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 24px;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.selection {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.selection label {
    font-weight: 500;
    color: #555;
    font-size: medium;
}

.selection select {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: medium;
    background-color: white;
    transition: border-color 0.3s ease;
    width: 100%;
}

.input {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 600px;
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.fileInput {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.output {
    margin-top: 20px;
    width: 100%;
}

.generate {
    width: 100%;
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

button {
    padding: 12px 24px;
    min-width: 200px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: white;
    font-size: medium;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
}

button:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
    box-shadow: none;
}

.generated {
    width: 100%;
    min-height: 200px;
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.span {
    font-size: medium;
    font-weight: 500;
    color: #555;
}

audio {
    width: 100%;
    max-width: 500px;
    margin-top: 16px;
}

.status-message {
    margin-top: 16px;
    color: #666;
    font-size: 14px;
    text-align: center;
}